package com.springinaction.springidol;

public class PoeticJuggler extends Juggler {

	private Poem poem;
	
	public PoeticJuggler(Poem poem) {
		this.poem = poem;
	}
	
	public PoeticJuggler(int beanbags, Poem poem) {
		super(beanbags);
		this.poem = poem;
	}

	public void perform() throws PerformanceException {
		super.perform();
		System.out.println("While Reciting");
		poem.recite();
	}

}
